<html>
<head><meta charset="utf-8"><title>Disabled transitive deps · t-compiler/rust-analyzer · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/index.html">t-compiler/rust-analyzer</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html">Disabled transitive deps</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="214421145"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214421145" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214421145">(Oct 24 2020 at 10:56)</a>:</h4>
<p>I just opened a project that uses actix-web and noticed a "indexing stdweb" message. That's AFAICT a disabled dependency of time (with default-features = false), which actix-web depends on. Should we be doing anything with those crates?</p>



<a name="214524454"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214524454" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214524454">(Oct 26 2020 at 01:39)</a>:</h4>
<p>Sounds like we should skip those. Will look into this tomorrow, memory usage has become pretty bad</p>



<a name="214587598"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214587598" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214587598">(Oct 26 2020 at 15:21)</a>:</h4>
<p>Turns out we weren't handling <code>#![cfg]</code> on the crate root, so we've always processed the whole winapi. I've pushed a fix for that.</p>



<a name="214587728"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214587728" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214587728">(Oct 26 2020 at 15:22)</a>:</h4>
<p>(winapi is supposed to be empty when not building for a Windows target)</p>



<a name="214589300"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214589300" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Laurențiu <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214589300">(Oct 26 2020 at 15:34)</a>:</h4>
<p>Well, I still see <code>stdweb</code> when loading my project</p>



<a name="214589521"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/185405-t-compiler/rust-analyzer/topic/Disabled%20transitive%20deps/near/214589521" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Jonas Schievink  [he/him] <a href="https://rust-lang.github.io/zulip_archive/stream/185405-t-compiler/rust-analyzer/topic/Disabled.20transitive.20deps.html#214589521">(Oct 26 2020 at 15:35)</a>:</h4>
<p>Yes, that's a different issue</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>